package com.cuotigou.service;

import com.cuotigou.util.ObjectResult;
import com.cuotigou.util.XMLBean;

import java.util.Map;

/**
 * Created by Administrator on 2018/11/9.
 */
public interface KnowledgeService {
    //知识课堂
    ObjectResult index(XMLBean xmlBean);
    //用户收藏的知识点
    ObjectResult knowledgeCollection(XMLBean xmlBean);
    //知识点详情
    ObjectResult knowledgeDetail(XMLBean xmlBean);
    //相关视频
    ObjectResult relatedVideos(XMLBean xmlBean);
    //发表评论
    ObjectResult publishDiscuss(XMLBean xmlBean);
    //科目
    ObjectResult subject(XMLBean xmlBean);
    //收藏知识点
    ObjectResult addCollection(XMLBean xmlBean);
    //支付宝购买知识点
    ObjectResult knowledgePay(XMLBean xmlBean);
    //微信购买知识点
    ObjectResult knowledgeWeixin(XMLBean xmlBean,String ip);
    //购买知识点回调
    void payNotify(Map<String,String> map);
    //ios购买知识点
    ObjectResult applePay(String userId,String id);
    //知识点学习
    ObjectResult knowledgeStudy(XMLBean xmlBean);
}
